package com.woniuxy.microsysserver.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Builder;
import lombok.Data;
import lombok.experimental.Tolerate;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * Auther: wuson  <br/>
 * Date: 2021/4/12:17:34  <br/>
 * Description:
 */
@Data
@Builder
public class FortuneCarEntity {

    //id
    private int id;
    //背景图片
    private String backgroundImage;
    //标题
    private String title;
    //描述
    private String desc;
    //时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date activityTime;
    //内容
    private String bigText;
    //状态1正常 2删除
    private int status;
    //结束时间
    private Date endTime;
    //时间段字符串
    private String startToEnd;

    @Tolerate
    public FortuneCarEntity(){}
}
